package com.sicong.admin.feign;

import com.sicong.admin.entity.Log;
import com.sicong.common.core.constants.SecurityConstants;
import com.sicong.common.core.utils.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

/**
 * @author chenww
 * @date 2020-12-23
 */
@FeignClient(value = "service-admin-biz", path = "/log")
public interface RemoteLogService {

    @PostMapping(value = "/save")
    Result<Void> save(@RequestBody Log log, @RequestHeader(SecurityConstants.SECURITY_INNER) String inner);

}
